package pers.ascend.spring.cloud.dalston.service.governance.consul.consumer.feign.manage.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 说明：
 *
 * @author ascend
 * 2021/3/9 16:45
 */
@FeignClient(name = "consul-producer", path = "/producer")
public interface ConsulProducerControllerFeign {

    @GetMapping(value = "/hello")
    String hello(@RequestParam("name") String name);
}
